User talk:Evad37/rater.js
This is a subpage of Evad37's talk page, where you can send them messages and comments. |
|
Archives: Index, 1, 2Auto-archiving period: 3000 days |
This script has a documentation page at User:Evad37/rater. |
AFC banner and Geology
[edit]Hi Evad! Thanks for another great, timesaving tool. Two things: (a) When an article is reviewed at AFC and accepted into main space, but no other assessment is made by the reviewer, only {{WikiProject Articles for creation}} will be added to the talk page. Even if rater_autostartNamespaces = 0;
is set, Rater will then detect the AFC banner and no longer autostarts. Would some kind of "if only found 'WikiProject Articles for creation' then autostartanyway"-exemption be an idea? (b) In Special:Diff/847566836/847566871 the addition of {{WikiProject Geology}} caused the concurrent addition of {{Geology|class=Stub}} under the banner shell. Thanks again, Sam Sailor 10:53, 26 June 2018 (UTC)
- Yeah this would be a good change. Glad to see that someone else is using the autostart feature, I requested it and Evad37 put so much work into it, but I was kinda afraid that I might be the only one using it 😉. I wish that the autostart didn't pop up when visiting page history pages though, as it can be a bit annoying. Toggleable for redirects would be great as well, as I rarely have the need to add wikiprojects to redirect talk pages, and is generally just an annoyance. But really, whatever is convenient. — Insertcleverphrasehere (or here) 11:32, 26 June 2018 (UTC)
- It is, the autostart feature, a very nice detail, and Evad deserves a lot of thanks for implementing it.
As Insertcleverphrasehere suggests there are also cases where it could be nice to suppress autostart, e.g. when the article contains {{Db-*}}, {{Proposed deletion/dated}}, and {{Prod blp/dated}} and perhaps some I did not think about? I fully understand if it's not the first priority on your to-do-list. Sam Sailor 14:18, 6 July 2018 (UTC)
- It is, the autostart feature, a very nice detail, and Evad deserves a lot of thanks for implementing it.
Remove Template:Stub from the bottom of the page when rating as higher than a stub
[edit]Many stub articles include {{stub}} or some variant. When rating the article as higher than a stub (ex. start or C class) it would be nice if these were removed automatically. LittlePuppers (talk) 04:29, 2 August 2018 (UTC)
- This feature could certainly be useful, but I would prefer an option to prompt the user, or a checkbox, instead of a fully automatic removal. — AfroThundr (u · t · c) 02:30, 3 August 2018 (UTC)
- Yeah, I'd be fine with that, too, I'd just prefer it to be a bit less manual. LittlePuppers (talk) 02:32, 3 August 2018 (UTC)
- A prompt. — Insertcleverphrasehere (or here) 02:35, 5 September 2018 (UTC)
- Yeah, I'd be fine with that, too, I'd just prefer it to be a bit less manual. LittlePuppers (talk) 02:32, 3 August 2018 (UTC)
Partly done @LittlePuppers, AfroThundr3007730, and Insertcleverphrasehere: The script will now show a notification when the article has a stub tag, and has a class rating higher than Stub. Automated or semi-automated removal is something I can look at doing in the future. - Evad37 [talk] 02:22, 21 December 2019 (UTC)
- Hi, Evad37! Thanks for all your work with this! With recent updates, it seems like this function has disappeared. I've been upgrading several stub articles, and when I re-rate them, I'm no longer informed that the article has any stub tags. I'm curious if there was any tweaking in the code that interfered with this function. Significa liberdade (she/her) (talk) 03:00, 23 February 2024 (UTC)
Having the listas parameter for {{WikiProject Women scientists}} autofill like {{WP Bio}}
[edit]Could it be possible to automatically generate the listas parameter for {{WikiProject Women scientists}}, as it acts like the {{WP Bio}}s listas parameter.
Thanks, Dreamy Jazz 🎷 talk to me | my contributions 10:32, 5 September 2018 (UTC)
- Or better yet, can it just copy the parameter to all the projects like it copies the importance and class? --Nessie (talk) 22:20, 12 April 2019 (UTC)
- Yes, User:Dreamy Jazz and User:NessieVL, I agree. It would be a great timesaver. WHen Rater starts & sees WP Biography with "Listas" blank, autofill. Same as Rater currently "autofills" listas when WP Bio is added. Regards, JoeHebda (talk) 13:58, 21 April 2020 (UTC)
Detecting Category:Living people on the article
[edit]It may be worth to automatically tick the living box for {{WikiProject biography}} when the article has Category:Living people. Thanks for a great tool, Dreamy Jazz 🎷 talk to me | my contributions 20:52, 27 September 2018 (UTC)
Listas and living parameters
[edit]When I am going through Category:Biography articles without living parameter I might be rating several articles in a short space of time. For the fist few the listas and living are present (and listas autofills), but after around 2-3 articles the rater box does not already include living and listas. There does not seem a obvious reason for this (the class still autofills). There are not any errors in the console which seem to come from rater. Dreamy Jazz 🎷 talk to me | my contributions 09:39, 6 February 2019 (UTC)
Are parts of the script case sensitive?
[edit]I was trying to use the script, but had issues on the MILHIST template. I checked the template data to one that did work (Template:WikiProject_Biography) and one thing I noticed was that the biography template had the values all lowercase, while MILHIST had some with first letter capitalized. Is this what is causing it not to work? If it is, I would assume the MILHIST template would need to be changed, as opposed to the script, right? Thanks! WelpThatWorked (talk) 20:03, 28 February 2019 (UTC)
Maths rating
[edit]Thank you once again for Rater.
On articles where the only talk page banner present is {{maths rating}}, Rater will autostart if rater_autostartNamespaces = 0;
is set, try e.g. Mellin transform. I suppose this could be because {{maths rating}} neither uses Template:WPBannerMeta nor has a title containing "WikiProject". Sam Sailor 07:50, 10 April 2019 (UTC)
- {{maths rating}} is a sore subject for me. People have asked them in the past to standardize and only have one banner like the rest of us, but they were not into it. Banner standardization is something that I have already started work on and it's on my to-do list to go over there and start yet another conversation about it. I don't think that Rater should work around their system--I think that they should standardize. Just my two cents. Prometheus720 (talk) 15:07, 4 May 2019 (UTC)
- You could not possibly be more wrong. The maths rating system is freakin excellent, and some bozos have been dinking with it to make it dumber and stupider. Wikipedia is not the right place for dumbness and stupidity. 67.198.37.16 (talk) 22:36, 5 June 2021 (UTC)
Ignoring AFC banner?
[edit]Is there a way to exclude the {{WikiProject Articles for creation}} banner so that the autostart can work if that is the only WikiProject banner on the talk page? I feel like any article with only the AFC banner probably needs a more specific banner on the talk page. --Nessie (talk) 20:45, 14 April 2019 (UTC)
- I totally agree, Nessie. Might be good for {{Wikiproject Biography}} as well. Honestly, I wouldn't mind having a setting to just have it come up on every page I visit--but only if it had an off button in the interface rather than making me go back and flip the bit in my js settings. Sometimes I have to actually use Wikipedia instead of editing it! Prometheus720 (talk) 15:03, 4 May 2019 (UTC)
WikiProjects at bottom of talk page, not found
[edit]Greetings, Today for first time Rater showed no WPs on this talk page. After I moved to top, Rater now sees them. A minor concern since probably 99-percent of pages are setup correctly. Regards, JoeHebda (talk) 14:54, 26 April 2019 (UTC)
Rater posted to the article and not the talk page
[edit]See this edit where I used Rater and it didn't post on Template talk:Cryptista but on Template:Cryptista. --Nessie (talk) 15:11, 31 May 2019 (UTC)
Cam not working
[edit]The quick "OX" works for Oxford, but "CAM" is gone. Please fix. Your tool is great.--Dthomsen8 (talk) 17:25, 24 August 2019 (UTC)
Suggestion: Inactive WikiProjects
[edit]Greetings, Wondering if Inactive WPs could be displayed from the "Add WikiProject" button? Maybe a different color to indicate not active? Like the gadget does for Article title (Display an assessment of an article's quality in its page header) changes color. Recently I've added inactive WikiProject Invention, Myanmar to article assessments. Ditto for semi-active projects. Regards, JoeHebda (talk) 18:16, 10 September 2019 (UTC)
Posting for Redrose64
[edit]@Redrose64: is also upset that one can select "template" as a class type. See [1], Please follow up with them, as I don't see why it is such a menace. --Nessie (talk) 21:55, 23 September 2019 (UTC)
- Because it's redundant. When a WikiProject banner is used in any talk namespace, other than Talk: itself, the class is set automatically based upon that namespace. So when banners are used in Template talk: namespace, the banner will set Template-Class automatically. Similarly, when banners are used in Category talk: namespace, the banner will set Category-Class automatically. --Redrose64 🌹 (talk) 18:58, 21 October 2019 (UTC)
v2.0.8 opening animation
[edit]I see that you have revamped Rater. There is an animation step as the tool opens up that slows down the whole process. Would it be possible to adjust things at my end to make the tool just pop open? Abductive (reasoning) 08:02, 29 November 2019 (UTC)
- I don't think there's any easy way to do so – that behaviour is built into the mw:OOUI windows (which Rater uses) - Evad37 [talk] 08:40, 30 November 2019 (UTC)
- It opens twice, at least for me. The previous version didn't do that (or if it did, was so rapid as to not be perceptible). Abductive (reasoning) 00:52, 1 December 2019 (UTC)
A couple of points
[edit]- Is there any way Rater could be made to boot up more quickly? Or have you already optimised to the full extent? Maybe it's because of my slow connection, but it takes a lot of time to load on many pages. I have noticed that most of the lag occurs after the percentage indicator has reached the maximum.
- "Changes you have made will be discarded." popup comes up even if I have not made any changes before trying to close.
- WikiProject templates with names ending in "/testcases" should not be available for adding. There are quite a lot of them.
- Rater is taking up a large amount of space in localStorage. I don't know if there any specific advantages of optimising space in localStorage, but it seems silly that:
- banner data is being cached even if it's same as the normal defaults.
- bannerOptions is being stored as an array of objects each having a data and a label field. In JSON.stringified form, that's a lot of wasted space. Why not just store it as a single object whose key & value are data & label respectively?
- storing times as seconds since epoch would take less space than the full ISO string.
- On a positive note, it's great to see that dragging is now smooth and glitch-free.
SD0001 (talk) 19:18, 17 December 2019 (UTC)
Classifying RfD redirects as Stub
[edit]When using Rater on a redirect tagged for RfD, Rater suggests Stub/Low rather than "Redirect"-class. Also "Redirect" isn't an option in the master drop-down (to tag all projects at once). Example czar 16:25, 18 January 2020 (UTC)
- The top level tag option that changes classes or importance for all listed banners seems to be missing the following categories on all pages: Category, Draft, File, Portal, Project, Template, Disambig, NA, and Redirect. signed, Rosguill talk 20:05, 20 January 2020 (UTC)
auto = stub
[edit]Is there a way to set up Rater to default remove the auto = stub parameter? Once a person assesses the article, the little robot icon should go away. Abductive (reasoning) 05:47, 16 February 2020 (UTC)
Importance
[edit]Useful tool, thanks. One thing that may not be obvious to users, is that changing the importance for projects is not always a good thing when the user has no familiarity with the goals of the project. It looks like the default is low, which is statistically the best option, but I find that some users are arbitrarily changing importance to higher ratings without reference to project guidance. Maybe a warning would help. Not sure what would be best, possibly a popup saying "Are you familiar with this project's priority guidance?" Cheers, · · · Peter Southwood (talk): 07:17, 13 April 2020 (UTC)
- I don't think a popup is a good way to go – I can see that would quickly become annoying to users who do know what they are doing. And raising an importance rating is something that is just about as easy to do by editing the wikitext, where no such warnings are going to be shown... - Evad37 [talk] 09:35, 13 April 2020 (UTC)
- True, but how do we deal with people who don't know what they are doing? Statistics show that most articles are low importance to most projects that actually have them in scope. I notice that the default suggestion for importance is low, which is fine, and will be good enough most of the time. We get enthusiasts dashing through the wiki assessing articles and allocating class based presumably on the ORES prediction, which is probably OK most of the time, but then they also sometimes change an importance for projects they are not members of, and probably have no idea of the project scope, but do it anyway, even upgrading from low to high, based on recent pageviews. · · · Peter Southwood (talk): 10:33, 14 April 2020 (UTC)
- Maybe a little warning icon, with tooltip message? · · · Peter Southwood (talk): 10:54, 14 April 2020 (UTC)
- A tooltip might work... will have to think about how to implement it. But ultimately, there is only so much technology can do... discussing with the offending users (and possibly escalating via dispute-resolution processes/noticeboards) is the only real way to
deal with people who don't know what they are doing
- Evad37 [talk] 17:07, 14 April 2020 (UTC)
- A tooltip might work... will have to think about how to implement it. But ultimately, there is only so much technology can do... discussing with the offending users (and possibly escalating via dispute-resolution processes/noticeboards) is the only real way to
Perhaps some advice in the documentation, like:
- Importance of an article to a project is at the discretion of that project's members, See Wikipedia:Version_1.0_Editorial_Team/Release_Version_Criteria#Importance_of_topic. Page views is seldom a consideration.
- The large majority of articles tagged as of interest to any given project are rated low importance by that project. Wikipedia:Content_assessment#Statistics will give some idea of the statistics.
- If no importance has been set, it is a reasonably safe bet that the default suggestion importance = low is the right choice. Setting importance to something different when it has already been set, requires a greater level of competence, since it is reasonably likely to be right already, and changing it arbitrarily (without sufficient knowledge of the project's goals) is more likely to be wrong than right.
- If you really think that an article should be considered more or less important by a specific project, discuss it on the project or article talk page. To save time, explain why.
Cheers, · · · Peter Southwood (talk): 12:08, 14 April 2020 (UTC)
- @Pbsouthwood: I've added a section to the documentation – feel free to edit further, but I did try to make it on the shorter side to avoid WP:TLDR problems - Evad37 [talk] 17:07, 14 April 2020 (UTC)
Prediction
[edit]Little icon in bottom right corner with text "Prediction X (nn%)". I assume this is from ORES, but what does the percentage actually mean? · · · Peter Southwood (talk): 10:39, 14 April 2020 (UTC)
- For a given revision of an article, ORES calculates a percentage likelihood for each of the standard (non-list) ratings, and then uses the rating with the highest percentage as the prediction – example - Evad37 [talk] 17:14, 14 April 2020 (UTC)
- Thanks, I would like to know how it works, but that is probably a bit complicated to explain here, Just knowing what it is helps me to assess how useful it could be. Other users may also find that it helps them with assessment, so a short explanation on the document page could be useful too. Do you know if a more detailed explanation is available anywhere? I looked at a few of the ORES pages on Mediawiki but couldn't find much on how it works. Cheers, · · · Peter Southwood (talk): 17:51, 14 April 2020 (UTC)
- I have started looking at the ORES site, after following your example link, so may find something for myself. · · · Peter Southwood (talk): 18:06, 14 April 2020 (UTC)
- While I'm not sure of the exact method used, the way ORES works in general is by machine learning (outline, Wikiversity) - Evad37 [talk] 01:45, 15 April 2020 (UTC)
- For most people "machine learning" is indistinguishable from "magic" , per Clarke's law #3. Do you know whether the Wikipedia:Content_assessment#Grades criteria are used, and if so, whether degree of compliance with these is recoverable from an assessment? · · · Peter Southwood (talk): 09:54, 15 April 2020 (UTC)
- Pbsouthwood, I haven't looked much at the specific workings of ORES, but based on my personal familiarity with machine learning technologies and my experience using the Rater tool, I'm pretty sure that its ratings are purely based on statistical inference, and not on specific criteria.
- The algorithm almost certainly just infers what the average stub, start, C, etc. class article looks like and compares that to the new article and tries to guess which category is the best fit based primarily on article length (and maybe, if it's fancy, a handful of other features, such as the presence of maintenance tags or images, proportion of section sizes to each other, etc.). Applying the Grades criteria is well outside the current state of the art for machine learning, today's algorithms can't make those kinds of assessments directly. signed, Rosguill talk 17:49, 15 April 2020 (UTC)
- Rosguill, Some things are undoubtedly easier to check than others. ORES is also used to provide warnings of suspected inappropriate edits for watchlists. presumably by checking for the presence of trigger words or constructions in diffs. Checking for the presence/absence of refs in a paragraph should be relatively straightforward, checking the quality and relevance of refs not so much. Checks for the presence of weasel words and puffery also feasible, though not necessarily always reliable. Size of lead in proportion to article size is easy to measure, though whether the lead actually summarises the content is not. Length of the article is not a reliable indicator of completeness, but is probably the only one available other than number of sections, and in special cases, the presence of specific section headers linked to specific project tags. Checking quality of writing is hard. Spelling and grammar checks are to some extent feasible, but limited. Whether the content is relevant or makes sense is difficult, sometimes even for a reasonably competent reader. It would be helpful to know to what extent these things are attempted, to know whether the tool is a claw hammer or a Swiss army knife. I am using it more as a hammer, a very convenient way of editing and adding project tags, which can suggest that some class ratings may be unrealistic, rather than a way to reliably classify article quality. I suspect that some users are applying the quality predictions less discriminately. · · · Peter Southwood (talk): 06:07, 16 April 2020 (UTC)
- Well, it consistently marks discography articles as GA-worthy, so my guess is that it's mostly predicated on length and maybe the number of citations. signed, Rosguill talk 06:12, 16 April 2020 (UTC)
- I think it tends to be a bit optimistic on average, but knowing what the next best guess was might help judge. It does not seem to take account of empty sections or expand section tags, possibly not even citation needed templates. I have not seen enough examples with more serious deficiencies tagged to guess whether it takes them into account. Maybe it will get more reliable with practice.· · · Peter Southwood (talk): 18:43, 17 April 2020 (UTC)
- Well, it consistently marks discography articles as GA-worthy, so my guess is that it's mostly predicated on length and maybe the number of citations. signed, Rosguill talk 06:12, 16 April 2020 (UTC)
- Rosguill, Some things are undoubtedly easier to check than others. ORES is also used to provide warnings of suspected inappropriate edits for watchlists. presumably by checking for the presence of trigger words or constructions in diffs. Checking for the presence/absence of refs in a paragraph should be relatively straightforward, checking the quality and relevance of refs not so much. Checks for the presence of weasel words and puffery also feasible, though not necessarily always reliable. Size of lead in proportion to article size is easy to measure, though whether the lead actually summarises the content is not. Length of the article is not a reliable indicator of completeness, but is probably the only one available other than number of sections, and in special cases, the presence of specific section headers linked to specific project tags. Checking quality of writing is hard. Spelling and grammar checks are to some extent feasible, but limited. Whether the content is relevant or makes sense is difficult, sometimes even for a reasonably competent reader. It would be helpful to know to what extent these things are attempted, to know whether the tool is a claw hammer or a Swiss army knife. I am using it more as a hammer, a very convenient way of editing and adding project tags, which can suggest that some class ratings may be unrealistic, rather than a way to reliably classify article quality. I suspect that some users are applying the quality predictions less discriminately. · · · Peter Southwood (talk): 06:07, 16 April 2020 (UTC)
- For most people "machine learning" is indistinguishable from "magic" , per Clarke's law #3. Do you know whether the Wikipedia:Content_assessment#Grades criteria are used, and if so, whether degree of compliance with these is recoverable from an assessment? · · · Peter Southwood (talk): 09:54, 15 April 2020 (UTC)
- While I'm not sure of the exact method used, the way ORES works in general is by machine learning (outline, Wikiversity) - Evad37 [talk] 01:45, 15 April 2020 (UTC)
- I have started looking at the ORES site, after following your example link, so may find something for myself. · · · Peter Southwood (talk): 18:06, 14 April 2020 (UTC)
- Thanks, I would like to know how it works, but that is probably a bit complicated to explain here, Just knowing what it is helps me to assess how useful it could be. Other users may also find that it helps them with assessment, so a short explanation on the document page could be useful too. Do you know if a more detailed explanation is available anywhere? I looked at a few of the ORES pages on Mediawiki but couldn't find much on how it works. Cheers, · · · Peter Southwood (talk): 17:51, 14 April 2020 (UTC)
Prediction accuracy
[edit]Wondering how accurate ORES can be? For example, after doing some cosmetic changes to article Gavinus, Rater still shows class of "Stub". I added "No Ref" tag, "Life" section title, Reference section skeleton, added Subject bar, added category, removed stub notice. There are several paragraphs of content, Rater prediction of 71-percent "Stub". JoeHebda (talk) 15:36, 24 April 2020 (UTC)
Pink tabs
[edit]See screenshot with pink tabs. What do these indicate? · · · Peter Southwood (talk): 18:36, 17 April 2020 (UTC)
- Parameters highlighted in pink are in an invalid state – typically because the template's TemplateData shows them as suggested parameters without specifying an autovalue. If you leave them as invalid (pink), Rater will ignore them, or you can edit them to specify a value - Evad37 [talk] 06:56, 18 April 2020 (UTC)
- Thanks, I will continue to ignore them as none of the projects I rate for use them. · · · Peter Southwood (talk): 15:58, 18 April 2020 (UTC)
not saving infobox parameter
[edit]I'm currently going through the Biography assessment backlog and this tool is a lifesaver :)... however, it doesn't seem to save any wikiproject's "needs-infobox" parameter. It's a yes/no option, though the rater doesn't seem to see it that way. any clues how i can get this to work? Sbbarker19 (talk) 01:10, 19 May 2020 (UTC)
Interesting quirk in the rating suggestion algorithm
[edit]Splitting this clearly start-class article I'm working on into sections, without adding any new content, was sufficient to change the rater's suggestion from start-class to B-class. CJK09 (talk) 10:34, 23 May 2020 (UTC)
- CJK09, see mw:ORES#Assessment scale support, which bases its predictions on, among other things, the number of sections of the use of {{cite}}-family templates. Evad37 mentioned that the rating predictions used ORES. The inaccuracies have been raised before -- see User_talk:Evad37/rater.js/Archive_1#ORES_with_a_grain_of_salt. Hope that addresses your concerns. Eumat114 formerly TLOM (Message) 10:57, 23 May 2020 (UTC)
Linking quality assessments
[edit]It would be great to have a default setting whereby changing one quality assessment for a project in rater changes all of them at once. Whilst importance varies between projects, the quality grading rarely does. Nick Moyes (talk) 08:03, 2 September 2020 (UTC)
- Doh! I can answer my own question by noting that the "Set all" option at the top of the Rater screen actually performs this function, both for 'Quality' ratings and 'Importance' assessments. Nick Moyes (talk) 16:32, 3 September 2020 (UTC)
Wrapper templates for WikiProject Women in Red
[edit]Just to let you know that I have moved and repurposed a category that you created. The new title is Category:Wrapper templates for WikiProject Women in Red. At the same time I have converted Template:WikiProject Women in Red to use {{WPBM}}. Hope this doesn't cause you any issues. — Martin (MSGJ · talk) 13:41, 5 November 2020 (UTC)
- @MSGJ: Well, it's not great since now Rater isn't identifying those templates as wikiproject wrappers - that notice I had on the category was there for a reason. But checking into it, I see that Category:WikiProject banner wrapper templates has now become partially diffused into subcategories, so a whole lot of other banner wrapper templates also aren't being identified. Getting Rater to check a whole bunch of very specific categories for wrapper templates is not really practical due to the amount of time it takes to make so many API requests (and Rater is already somewhat slow to start up). So I'll probably need to have a single, non-diffusing, "All WikiProject banner wrapper templates" - Evad37 [talk] 21:38, 6 November 2020 (UTC)
Missing project
[edit]The last few days I've noticed that Template:WikiProject U.S. Roads is no longer found by the rater. There is a sandbox2 that shows up as well as the US 66 task force, both of which use {{WPBannerMeta}}
while the main USRD template is a legacy homebrew template. It could also be my end. I use Chrome 86 on macOS 10.15.6. –Fredddie™ 01:10, 14 November 2020 (UTC)
- I was able to find it using my phone in Chrome's desktop mode. –Fredddie™ 01:28, 14 November 2020 (UTC)
- There has recently been a bunch of edits changing the categorisation structure for wikiproject banners, e.g. the section above this one. If the banners are no longer in the categories Rater expects them to be in, then it won't be able to find them. (The phone finding them would be due to its cache not yet being updated -- it soon won't be able to find the banner either, once the cache is updated). I haven't been able to keep up with these changes due to real-life being busy. - Evad37 [talk] 02:17, 14 November 2020 (UTC)
- If there's anything gnomish you need done that could expedite things even just a little bit, let me know. I've got plenty of free time right now. –Fredddie™ 04:17, 14 November 2020 (UTC)
- @Fredddie: Fixed. You may need to clear your cache by opening a Rater dialog, clicking on cog-wheel button in the top left corner, then clicking the "Reset cache" button near the bottom of the dialog. - Evad37 [talk] 07:07, 14 November 2020 (UTC)
- If there's anything gnomish you need done that could expedite things even just a little bit, let me know. I've got plenty of free time right now. –Fredddie™ 04:17, 14 November 2020 (UTC)
- There has recently been a bunch of edits changing the categorisation structure for wikiproject banners, e.g. the section above this one. If the banners are no longer in the categories Rater expects them to be in, then it won't be able to find them. (The phone finding them would be due to its cache not yet being updated -- it soon won't be able to find the banner either, once the cache is updated). I haven't been able to keep up with these changes due to real-life being busy. - Evad37 [talk] 02:17, 14 November 2020 (UTC)
Are you manually categorising templates into Category:WikiProject banner wrapper templates? I'm just thinking there should be an easy automatic method to do this in WPBM. By the way most of the templates in Category:WikiProject banners with non-standard names are wrapper templates, but I don't think they are all in your tracking category — Martin (MSGJ · talk) 16:43, 24 November 2020 (UTC)
Greetings and a quick question
[edit]Firstly, thanks for this script. This is a very helpful tool.
I know I would not be the first one to ask -- but, I wanted to know how the tool gives out a predicted class for the article. I was working on edits and expansions for Alan Ramsey in preparation for WP:ITNRD and I was surprised to see the tool say that the article was B class or higher. I personally would have tagged it at a C. And, the odd thing was the tool kept saying start class, until I added some details about the subject's prior marriage and boom the tool started suggesting B or higher. (I know, correlation does not imply causality). But, I am curious. Thanks much. Ktin (talk) 00:03, 25 November 2020 (UTC)
- @Ktin: Rater gets the predictions from mw:ORES, which uses machine learning algorithms to predict the probability of each class rating between Stub and FA. While it often gives reasonable results, it still is only a prediction and can occasionally be wildly inaccurate. Some features it might look at include length (words, paragraphs, sections), number of references, use of an infobox and other templates, use of links and formatting. There's been prior discussion here at #Prediction above, as well as User talk:Evad37/rater.js/Archive 1#ORES with a grain of salt and User talk:Evad37/rater.js/Archive 2#Predicted_ratings - Evad37 [talk] 03:50, 4 December 2020 (UTC)
Boolean auto value
[edit]What is the "auto value" to set in TemplateData for the Boolean type, i.e., when adding a parameter, to have it show as a pre-checked checkbox? czar 04:50, 10 December 2020 (UTC)
- @Evad37, would you know this offhand? I'm looking to do some TemplateData work so this would be helpful czar 17:08, 16 January 2021 (UTC)
- @Czar: For Rater to show a checkbox, within the templatedata description for the parameter you need to set an array with either 1 or 2 allowed values, per the "Allowed values" part of User:Evad37/rater § Detailed information for parameters. Then, to show it as pre-checked when added, that parameter's autovalue should be the first value of the array. For example:
- a pre-checked checkbox where checked means
set to yes
and unchecked meansdo not set
would have to include the array['yes']
within the description field, and have the autovalue set toyes
. - a pre-checked checkbox where checked means
set to yes
and unchecked meansset to no
would have to include the array['yes', 'no']
within the description field, and have the autovalue set toyes
.
- a pre-checked checkbox where checked means
- There's some examples at Template:WikiProject_Biography/doc#TemplateData - Evad37 [talk] 00:32, 17 January 2021 (UTC)
- @Evad37, thanks! Right now, in the case of your first bullet, e.g., when adding "a&e-work-group" to {{WPBIO}}, Rater requires two clicks to enter the search term and then select the suggested "yes" from the dropdown. Since the only option is "yes" or remove, would it be possible to just add the item after the first click without having to confirm the "yes" from the dropdown? This makes it easier to add a bunch of checkboxes (those who use these parameters tend to use several) and I recall correctly, that's how the precursor to Rater handled it. czar 18:04, 17 January 2021 (UTC)
- @Czar: For Rater to show a checkbox, within the templatedata description for the parameter you need to set an array with either 1 or 2 allowed values, per the "Allowed values" part of User:Evad37/rater § Detailed information for parameters. Then, to show it as pre-checked when added, that parameter's autovalue should be the first value of the array. For example:
WikiProject Banner Shell feature request
[edit]Template:WikiProject banner shell increases the "expansion depth" by at least 4 in many cases.
In some cases, such as this recent example, adding it will push it over the limit of 40 (see Template:WikiProject banner shell#Limitations and bugs).
Can you have the script check the expansion depth and NOT add the banner if it would push the expansion depth over the limit of 40, or at least alert the user so he can go back and change it manually? davidwr/(talk)/(contribs) 14:59, 13 January 2021 (UTC)
Rater changes diff's font size
[edit]Rater seems to make the diff font size smaller when I'm not using Rater and just looking at regular diffs. It's distracting because the font size change comes with a ~0.5-second delay. Anything I can do about this? --JAAqqO (talk) 19:41, 1 February 2021 (UTC)
- JAAqqO, Yea same issues here as well. @Evad37: please fix it, thanks a lot. — Paper9oll (📣 • 📝) 08:22, 9 February 2021 (UTC)
- An temporary workaround is to edit your vector.css and add this code:
@media screen { table.diff { width: 100%!important; } td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 13px!important; } }
- There's a new workaround here if someone's struggling with this older one. --JAAqqO (talk) 00:51, 15 September 2021 (UTC)
Invalid templates
[edit]Does this script verify that the WikiProject templates are valid before saving the edit? Consider the following four, all made using this script: 01:19, 3 February 2021; 01:34, 3 February 2021; 01:47, 3 February 2021 and 02:13, 3 February 2021. --Redrose64 🌹 (talk) 23:50, 4 February 2021 (UTC)
Rating quality for multiple projects at once
[edit]It'd be nice if there was a way to change the quality assessment for all projects at once, rather than having to go through them individually. It's silly that we have a system where an article can be deemed B-class in one project but C-class in another, but we should at least reduce the amount of work that creates. {{u|Sdkb}} talk 05:35, 13 February 2021 (UTC)
- Sdkb, I think I have such an option at the top of the interface (pretty sure it was there in mid-February, but who knows) Eddie891 Talk Work 00:30, 5 March 2021 (UTC)
Image requested, Infobox missing, Map requested
[edit]I add Template:Image requested, Template:Infobox missing, and Template:Map requested to talk page all the time. I wonder if Rater could be used to add these template to talk pages, too, when applicable? Just a thought. ---Another Believer (Talk) 15:53, 4 March 2021 (UTC)
Script malfunctioning
[edit]Hi there, I noticed that the script under the installation instructions no longer substitutes correctly when it is added on the common.js page, would you mind fixing this/advising? Breadyornot (talk) 19:20, 11 March 2021 (UTC)
SIA class?
[edit]So i was using your fine tool, as I often do. I was trying to add a class for {{WikiProject Wisconsin}} to Mud Lake (Wisconsin). However, it left me no choice but to change the class of {{WikiProject Lakes}} from |class=SIA
. The drop down did not allow set index articles. I know they are a rare class, but i’d rather not deprecate them accidentally. Is there a bug or something going on? --awkwafaba (📥) 02:46, 16 May 2021 (UTC)
Disambiguation pages?
[edit]Most WikiProjects have a dab class -- can you add that to the options? Sadads (talk) 15:23, 22 May 2021 (UTC)
Suggestion on warning box
[edit]Rater is terrific, thank you. I did notice one small thing: the warning box that says "such and such is not a recognized Wikiproject, do you want to continue?" is a bit irrelevant, since if even some projects were correctly added, I do want to continue. It would be better to say "Note: Wikiproject such and such is not a recognized project and was not added." Thanks. --- Possibly (talk) 19:23, 22 May 2021 (UTC)
This bot breaks the maths template
[edit]People keep using this bot to break the Template:maths rating. I've had to revert about 5 or six breakages due to this bot. The problem is that this bot removes the "importance" rating, including several "top" importance ratings, and a number of low-importance ratings. Can this bot be fixed to work correctly with this template, or at least be blocked from altering this template until it is fixed? 67.198.37.16 (talk) 22:33, 5 June 2021 (UTC)
Watchlists
[edit]This tool adds pages to my watchlist when I create talk pages through it. I'd prefer that that didn't happen, as all I'm doing is rating them, so there's not an especially strong reason to monitor them going forward. Would it be possible to turn this feature off? {{u|Sdkb}} talk 10:10, 27 June 2021 (UTC)
Script-installer not detecting source
[edit]Script-installer doesn't seem to detect the source code in the infobox, and won't show the Install button. I believe it's because you have {{plainlist}}
, and that's seemingly messing it up. I could be wrong and I don't want to mess with what you're going with. SWinxy (talk) 06:26, 17 July 2021 (UTC)
Thank You!
[edit]I discovered this tool today, and it has made going through the massive assessment backlog for Wikiproject Trains (over 2,000 articles missing quality assessments, and around 8,000 missing importance assessments) significantly easier than doing them all by hand and typing in everything. Thank you for creating it! Trainsandotherthings (talk) 16:41, 30 July 2021 (UTC)
Changes the diff styling
[edit]@Evad37 The script is changing the diff styles. For example, view a diff Special:Diff/1040378639 with and without the script. Is the script adding any CSS style classes? Thanks for the look. — DaxServer (talk to me) 08:55, 24 August 2021 (UTC)
- (talk page stalker) DaxServer, the given diff shows an AWB edit. Is not it so? --Titodutta (talk) 02:56, 3 September 2021 (UTC)
-
Diff with rater, before Special:Diff/1042108322
-
Diff without rater, after Special:Diff/1042108322
-
Diff in incognito logged out
- @Titodutta It happens for all the diffs. The diff without rater is the same as the default one in incognito. The diff with rater is a bit condensed and the background color of the faded line is a bit darker. — DaxServer (talk to me) 07:28, 3 September 2021 (UTC)
- This workaround worked for me. --JAAqqO (talk) 09:52, 3 September 2021 (UTC)
- I just noticed that workaround doesn't work perfectly, so I made some more changes:
/* fix [[WP:RATER]]'s diff style */
@media screen {
table.diff {
width: 100% !important;
}
td.diff-addedline, td.diff-deletedline, td.diff-context {
font-size: 13px !important;
white-space: break-spaces !important;
}
td.diff-context {
background: #f8f9fa !important;
border-color: #eaecf0 !important;
color: #202122 !important;
}
table.diff td {
padding: 0.33em 0.5em !important;
}
.diff td.diff-marker {
padding: 0.25em !important;
}
}
/* END fix [[WP:RATER]]'s diff style */
- This works at least for me. --JAAqqO (talk) 17:33, 3 September 2021 (UTC)
- @JAAqqO The workaround works for me. Thanks! Hopefully the styling in rater itself would be fixed. — DaxServer (talk to me) 07:44, 4 September 2021 (UTC)
- This works at least for me. --JAAqqO (talk) 17:33, 3 September 2021 (UTC)
Bug: Removes the class parameter if there's hidden text
[edit]It seems that the class parameter gets removed if it has hidden text ("<!-- hidden text -->
") after the class rating. For example, try running the script on Talk:Area 51. More example pages where this happens. --JAAqqO (talk) 00:51, 15 September 2021 (UTC)
Suriname and Chile
[edit]Couple of bugs:
1) {{WikiProject Suriname}} does not show up in rater. It is a template wrapper for {{WikiProject South America}}. see Talk:Dewnarain Poetoe, Talk:Jodensavanne internment camp, Talk:Roland Alberg, and Talk:Copieweg internment camp for examples.
2) {{WikiProject Chile}} does not have the drop-downs for quality and importance in the Rater window. If you hard-code them in the page without using rater they work normally.
cheers --awkwafaba (📥) 14:21, 15 September 2021 (UTC)
Wikiproject India parameter options
[edit]Hi the state-importance parameters could have a drop down menu of options in the value field. Wiki Project Biography has this enabled. Can you also enable this for the Wikiproject India parameters? Venkat TL (talk) 18:19, 2 October 2021 (UTC)
- Just did this by overhauling the TemplateData, Venkat TL. Sammi Brie (she/her • t • c) 20:36, 17 February 2022 (UTC)
- Thank you works well. Venkat TL (talk) 07:00, 18 February 2022 (UTC)
Can you re-rate Jalal al-Din Mangburni, please?
[edit]Hello. I do not understand your rater. Can you help me to rate Jalal al-Din Mangburni and re-class it? --81.213.215.83 (talk) 05:36, 15 October 2021 (UTC)
- I have rated it. Venkat TL (talk) 08:16, 15 October 2021 (UTC)
- How can it still be C-class? It was C-class when the article was not even half of what it currently is. I have expanded and improved it significantly, and still C-class? --81.213.215.83 (talk) 20:24, 15 October 2021 (UTC)
- Previously, the article did not have anything about his personal life and spouses, something about his resistance against the Mongols had hardly existed in the article, something about his life in India barely existed in the article, his legacy and his influence was also barely mentioned, the battle he emerged victiours was not talked about. I have introduced all of them, all of them being sourced. How can it still be C-class? --81.213.215.83 (talk) 20:33, 15 October 2021 (UTC)
Rater v2.6.2 - WP Bio, listas not auto-filling
[edit]Hi, I just installed today. Did logoff/logon before writing this. When I click on "listas" button, it displays a blank box to manually fill in the name. Does not auto-fill the name. A simple example at Talk:Askgar Hosejni. JoeNMLC (talk) 21:51, 22 October 2021 (UTC)
- * For WikiProject Biography,
|listas=
is automatically filled based on the page title- ω Awaiting JoeNMLC (talk) 16:35, 30 December 2021 (UTC)
- ω Awaiting - NOT auto-filling biography "Listas", new version 2.6.4
- It works Ok for Talk:Madhukar Gogate article. - JoeNMLC (talk) 19:51, 26 January 2022 (UTC)
- ω Awaiting - NOT auto-filling biography "Listas", new version 2.6.4
- ω Awaiting JoeNMLC (talk) 16:35, 30 December 2021 (UTC)
Automatic refresh
[edit]The page don't automatically get refresh after I add a category or make any changes to the existing category or class. Eevee01(talk) 06:06, 6 November 2021 (UTC)
Feature request: Auto add assess-date
[edit]Hi Thank you for the useful tool. Is there a way this tool can automatically add the current date in the assess-date field? It should add "September 2021" automatically while assessing an article. If this feature already exists let me know how to activate it. For now I have to add assess date manually every time. It is unnecessary effort that can easily be automated. Venkat TL (talk) 08:39, 12 September 2021 (UTC)
This request is about Wikiproject India parameter. --Venkat TL (talk) 18:19, 2 October 2021 (UTC)
I recently assessed Talk:2004 Indian general election in Sikkim, see Special:Diff/1073930739. Yet it shows that it was last assessed in 2012. It has a assess-date parameter from WPBannerMeta but in most cases they're unused. I believe, in cases where it is actually used, an automatic update to the assess-date would be preferable during assessment edit. Thanks! ---CX Zoom(he/him) (let's talk|contribs) 13:23, 25 February 2022 (UTC)
- Same with Talk:Sengupta (Special:Diff/1073934034). ---CX Zoom(he/him) (let's talk|contribs) 13:41, 25 February 2022 (UTC)
- Do many WikiProject templates use this? If it's mostly deprecated, it wouldn't make sense to support it. czar 03:23, 26 February 2022 (UTC)
- @Czar I support the request. This is only a request to auto add the current Month+Year in the assess-date parameter inside WP:INDIA tag. I dont know if other projects use it, but WP:INDIA uses it and I find it very useful. I have to manually add it right now, when this can be easily automated. I had asked this few months back. (I will merge the 2 threads) Please add it. Venkat TL (talk) 10:31, 26 February 2022 (UTC)
- @Czar: AFAIK the only WikiProject banner that has such a parameter is
{{WikiProject India}}
. It's not a part of the underlying{{WPBannerMeta}}
code, so India have implemented it by means of a note. If you fill in|assess-date=
(or either of its aliases,|assessdate=
and|assess date=
) all that happens is that the text "This article was last assessed in" is displayed, followed by the content of that parameter and preceded by this image. There is no categorisation, and no change in the behaviour of anything else - it's purely informative. --Redrose64 🌹 (talk) 11:41, 26 February 2022 (UTC)- And this information is very helpful for the readers and assessors. Venkat TL (talk) 11:53, 26 February 2022 (UTC)
- If a rating is out of date, anyone assessing the article can tell by just looking at the article. The date has no bearing on whether the rating is any more accurate.
- But this is also besides the point. If assess-date is important to the project, rater.js supports TemplateData to show and format the field within the tool. Automating this date entry for one WikiProject is the type of edge case that adds more complexity than upside to the rater.js implementation. czar 13:03, 26 February 2022 (UTC)
- @Czar How does adding this small one line feature for WP:INDIA affect the tool and others. More time has been spent arguing here than it would have taken to add this minor code improvement. Please let me know where I should raise the matter to generate wider consensus for this trivial change. Venkat TL (talk) 13:13, 26 February 2022 (UTC)
- I second this. I don't see why the tool would have any issues even if such facility is added solely for the purpose of WP:INDIA banners. ---CX Zoom(he/him) (let's talk|contribs) 15:25, 26 February 2022 (UTC)
- The reason is scope creep. Additions have to be worth the complexity and maintenance costs. Yes, you're welcome to copy the script into your own user space and edit as you wish. czar 22:22, 27 February 2022 (UTC)
- I second this. I don't see why the tool would have any issues even if such facility is added solely for the purpose of WP:INDIA banners. ---CX Zoom(he/him) (let's talk|contribs) 15:25, 26 February 2022 (UTC)
- @Czar How does adding this small one line feature for WP:INDIA affect the tool and others. More time has been spent arguing here than it would have taken to add this minor code improvement. Please let me know where I should raise the matter to generate wider consensus for this trivial change. Venkat TL (talk) 13:13, 26 February 2022 (UTC)
- And this information is very helpful for the readers and assessors. Venkat TL (talk) 11:53, 26 February 2022 (UTC)
- Do many WikiProject templates use this? If it's mostly deprecated, it wouldn't make sense to support it. czar 03:23, 26 February 2022 (UTC)
- @Redrose64: Thanks for correcting me that
|assess-date
isn't a part of WPBannerMeta. But I also throw my support for such a parameter, as Venkat TL said, it can categorise really old articles for reassessment. Especially on quality grounds. Many articles undergo heavy editing since last assessment and may actually require to be reassessed. Perhaps a similar parameter for "scheduled assessment date" should also exist for Future-class articles that may go un-reassessed if not for proper categorisation. I too, as Venkat said, would be glad to take up the issue to the appropriate forum where can get more input over this. ---CX Zoom(he/him) (let's talk|contribs) 15:22, 26 February 2022 (UTC)- In addition, new users and IP users also easily notice the assessment date in the talk page banner (without needing to check the realms of talk page history) Notice the very old assessment and bring it up for re-assessment. Venkat TL (talk) 15:42, 26 February 2022 (UTC)
- @Redrose64: Thanks for correcting me that
- @Czar regardless of whether this feature is added into rater or not. I would like to Fork this and add it for the time being, in my user space. Czar, can you please help to add the fork in my userspace that adds CURRENT MONTH And CURRENT YEAR into this assess-date field. Venkat TL (talk) 15:49, 26 February 2022 (UTC)
- That would be a very bad idea. It would mean that all pages were shown as assessed in October 2024, even when the last actual assessment was years ago. --Redrose64 🌹 (talk) 16:29, 26 February 2022 (UTC)
- @Redrose64 I may have not said it clearly. The line will substitute the CURRENT MONTH and CURRENT YEAR. So The assessment in this month will include
|assess-date = February 2022
and not|assess-date = CURRENT MONTH, CURRENT YEAR
. I hope I am more clear this time. Venkat TL (talk) 16:33, 26 February 2022 (UTC)
- @Redrose64 I may have not said it clearly. The line will substitute the CURRENT MONTH and CURRENT YEAR. So The assessment in this month will include
- That would be a very bad idea. It would mean that all pages were shown as assessed in October 2024, even when the last actual assessment was years ago. --Redrose64 🌹 (talk) 16:29, 26 February 2022 (UTC)
FYI - Rater not run/start on Talk page
[edit]Hi, just to let you know that for article Talk:Jackson Haines Rater "refused" to start. For WP Figure skating, I changed parameter "priority" to "importance" & then Rater runs Ok. JoeNMLC (talk) 16:01, 16 March 2022 (UTC)
Won't add priority parameter
[edit]At Talk:Exp algebra , I twice tried to add the |priority = Low
parameter. It didn't work out, only setting the quality parameter. At the end, I had to set the priority parameter manually to Low. A fix would be helpful. Thanks! ---CX Zoom(he/him) (let's talk|contribs) 16:29, 2 April 2022 (UTC)
- @CX Zoom: This shouldn't be necessary:
{{WikiProject Mathematics}}
allows|importance=
as an alias for|priority=
. Bear in mind that if both are present,|importance=
is ignored - even if|priority=
is blank. --Redrose64 🌹 (talk) 17:20, 2 April 2022 (UTC)- The problem here is that the "importance" parameter doesn't even show up in Rater tool for
{{WikiProject Mathematics}}
. Neither at the default location, nor at the drop-down list of other parameters. ---CX Zoom(he/him) (let's talk|contribs) 17:23, 2 April 2022 (UTC)
- The problem here is that the "importance" parameter doesn't even show up in Rater tool for
Rater
[edit]I tried to paste {{subst:lusc|User:Evad37/rater.js}} to a JS page and got an error message that the code was wrong. Any ideas? Has something changed? Liz Read! Talk! 23:51, 18 April 2022 (UTC)
- @Liz: Where did you paste it? I used User:Redrose64/common.js and no error was shown. It doesn't seem to do anything though, there are no new menus or tabs anywhere that I can find. --Redrose64 🌹 (talk) 14:26, 19 April 2022 (UTC)
Oddity in view
[edit]It is possible to look at a tag where a sub project importance=low is claimed
- ie the parent Australia the sub project biota say - the line after biota says importance=low
- going into the rater box, there is no importance identified, and requires adding
- It looks like: -
- This article is supported by WikiProject Western Australia (marked as Mid-importance).
- This article is supported by WikiProject Australian biota (marked as Low-importance).
however, there is no marking for biota-importance being endtered inside the rater box...JarrahTree 05:15, 28 May 2022 (UTC)
Vital articles
[edit]Is there is a way for the script to support {{Vital article}} template? I was thinking of either converting the template to standardized {{WPBannerMeta}}, but it would cause a lot of problems for the User:cewbot to update the Vital list. Is supporting the template something that can be easily fixed? CactiStaccingCrane (talk) 08:47, 15 July 2022 (UTC)
- Anyone? This is a pretty serious issue in its own right. CactiStaccingCrane (talk) 04:18, 24 July 2022 (UTC)
- Evad hasn't edited in a while so I'd consider this script under inactive maintenance. It doesn't sound like there is an easy fix to include {{vital article}}, as the template not commonly treated as a WikiProject banner (not included within {{WikiProject banner shell}}) and is heavily monitored/maintained by its own bot. czar 07:11, 24 July 2022 (UTC)
- Czar, could it use the TemplateData in the template instead? CactiStaccingCrane (talk) 03:39, 25 July 2022 (UTC)
- Theoretically, perhaps. But the bigger issue is that the template isn't meant to be managed a WikiProject banner. It sits outside the banner shell per WP:TPL. czar 06:04, 25 July 2022 (UTC)
- I agree with Czar. WP:TALKORDER states that the vital article template should be outside the banner shell. –Novem Linguae (talk) 23:07, 19 February 2023 (UTC)
- Theoretically, perhaps. But the bigger issue is that the template isn't meant to be managed a WikiProject banner. It sits outside the banner shell per WP:TPL. czar 06:04, 25 July 2022 (UTC)
- Czar, could it use the TemplateData in the template instead? CactiStaccingCrane (talk) 03:39, 25 July 2022 (UTC)
- Evad hasn't edited in a while so I'd consider this script under inactive maintenance. It doesn't sound like there is an easy fix to include {{vital article}}, as the template not commonly treated as a WikiProject banner (not included within {{WikiProject banner shell}}) and is heavily monitored/maintained by its own bot. czar 07:11, 24 July 2022 (UTC)
Broke?
[edit]Something broke with my Rater implementation in the last few days. It threw an error and now whenever it loads on a page, the window does not show the entries for editing (though if I "add" an entry and it doesn't show, it'll still write to the page). Posting in case anyone else is having the same issue. czar 04:16, 1 September 2022 (UTC)
- @Czar I do not know how to make mine work at all :(
- I am a brand new NPP. Any tips? I cannot be that bad at scripts because Twinkle, Redwarn, the NPP curator tool all work. But I cannot get any of the good NPP scripts to work. I have installed them and they show up when I click "manage my scripts" MaxnaCarta (talk) 06:19, 8 September 2022 (UTC)
- @MaxnaCarta, this script (rater.js) is now working for me again after rebooting, so I was mainly posting to see if anyone else was having the same issue.
- re: scripts not loading, my suggestion is to remove all scripts in your User:MaxnaCarta/common.js and then add back the ones you need one at a time, testing to make sure they work. These are all user scripts so sometimes they conflict. For help with NPP scripts, you might want to ask in the NPP talk pages. czar 12:32, 8 September 2022 (UTC)
- @Czar thanks! I gave that a shot before and it fixed it right up. Cheers. MaxnaCarta (talk) 12:53, 8 September 2022 (UTC)
Ask
[edit]I tried installing on Wiki.id, it works except on "Add WikiProject" text box shows "royekWiki..." instead "ProyekWiki..." (missing "P" character on word "Proyek"). Can you help me please? Thanks. Arya 88 (talk) 15:38, 17 December 2022 (UTC)
Solved - Rater shortcut key, two browsers
[edit]Recently I stumbled on a solution to keyboard Rater startup.
1. In Vivaldi browser, Settings, Search on "shortcut". Then in the "Keyboard" Section, tick "OFF" setting for "Allow Access Keys". For Chromium browser, skip this step.
2. On my laptop, most Wikipedia shortcut keys work with "Alt-Shift". So for Rater shortcut of "alt-shift-5", I discovered it starts using the right-keypad "5" instead of the keyboard upper row number 5. But Rater only starts if that right-keypad has "NumLock" OFF.
Details:
Browser - Chromium Version 108.0.5359.71
Browser - Vivaldi 5.5.2805.48 (Stable channel) stable (64-bit)
Skin - Monobook
Laptops - Lenovo Thinkpad E550 and E580
O/S - Linux Mint 19.3 and 20.3
I am glad to have found this solution & thought to share here. JoeNMLC (talk) 14:22, 19 December 2022 (UTC)
What went wrong here?
[edit]|class = Start
|<!-- 1. It is suitably referenced, and all major points are appropriately cited. -->
It also added
|importance=Low
to WikiProject United Kingdom, which I do not remember doing. Schierbecker (talk) 03:15, 2 February 2023 (UTC)
- @Schierbecker: The "Autofill low importance" is probably on for you (the default setting). This proposed change shows up in the Rater pop-up, and you may have not noticed that it has been auto-filled to "Low" and hit "Save". To change the settings, use the gear button on the top-left of rater pop-up. The settings will be saved on a page like User:CX Zoom/raterPrefs.json. —CX Zoom[he/him] (let's talk • {C•X}) 15:38, 2 February 2023 (UTC)
- Ah, OK. So why did it remove:
|class = Start
|<!-- 1. It is suitably referenced, and all major points are appropriately cited. -->
Schierbecker (talk) 20:24, 3 February 2023 (UTC)
- @Schierbecker: The code removed was:
|class = Start <!-- 1. It is suitably referenced, and all major points are appropriately cited. -->
- Basically, the entire class parameter was removed.
- I'm just speculating and am not 100% sure about it. But, I suspect that it is because of how Template:WikiProject Military history/Class works. Now, if you check the revision just before your edit (Special:Permalink/1136603775), you find that the above code exists, which set the class=start. However, it is rendered as C-class instead, which is true even now. class=start is set, but rendered as C-class. The above template checks the b-class checklist and automatically assigns the article C-class despite being told otherwise. rater.js probably found that the |class= parameter of template is being overridden and not called to perform any task, so it just removed what it thought to be a useless parameter. —CX Zoom[he/him] (let's talk • {C•X}) 21:12, 3 February 2023 (UTC)
Any chance of an install button?
[edit]I am having trouble installing Chidgk1 (talk) 14:48, 6 March 2023 (UTC)
- @Chidgk1: It's very easy, just go to User:Chidgk1/common.js, and type
{{subst:lusc|User:Evad37/rater.js}}
at a new line anywhere on the page, and it will get installed. —CX Zoom[he/him] (let's talk • {C•X}) 16:17, 6 March 2023 (UTC)- OK yes that is what I did before. Again it said “The document contains errors. Are you sure you want to publish?” but this time I published and rater appears on the drop down menu thanks. Chidgk1 (talk) 18:03, 8 March 2023 (UTC)
- I have never seen that error message before - don’t know if it is maybe a new message about an old problem rather than anything to do with rater Chidgk1 (talk) 18:09, 8 March 2023 (UTC)
- I get error messages as well, on Vector (2022). First, on adding the template to a new line, I get Warning: Label 'subst' on lusc statement.. Then, if I ignore that and save the page I get a scary pop-up box saying The document contains errors. Are you sure you want to publish?. Saying 'yes' at that point seems to work, but many people are going to be put off. MichaelMaggs (talk) 13:09, 29 March 2023 (UTC)
- I have never seen that error message before - don’t know if it is maybe a new message about an old problem rather than anything to do with rater Chidgk1 (talk) 18:09, 8 March 2023 (UTC)
- OK yes that is what I did before. Again it said “The document contains errors. Are you sure you want to publish?” but this time I published and rater appears on the drop down menu thanks. Chidgk1 (talk) 18:03, 8 March 2023 (UTC)
Move article quality rating into banner shell
[edit]This is just to let people know that a change in Template:WikiProject banner shell and Template:WPBannerMeta was made today that allows people to enter the class rating in the banner shell template, and this will then be inherited by all project banners on that page (unless they have opted out). I'm not sure if any changes to this script will be needed? Regards — Martin (MSGJ · talk) 13:34, 27 March 2023 (UTC)
- A change would certainly be needed but @Evad37 hasn't edited since October 2022, so it may take long until they return. —CX Zoom[he/him] (let's talk • {C•X}) 16:58, 2 April 2023 (UTC)
- Is there an alternative rating tool? Perhaps someone will fork it at some point if Evad37 doesn't come back? -Kj cheetham (talk) 09:55, 10 June 2023 (UTC)
- @Evad37: Hi there! I've seen you've responded to other sections recently, so I hope you'll also reply here. Would it be possible to change Rater's default process to add
|class=
to {{WikiProject banner shell}} instead of each WikiProject? Thanks! GoingBatty (talk) 19:58, 21 November 2023 (UTC)- Last time rater had a major bug, I think posting on Evad's talk page was successful in notifying them. –Novem Linguae (talk) 15:21, 25 November 2023 (UTC)
- I have also posted on Evad's talk page, asking them to comment here — Martin (MSGJ · talk) 20:00, 10 December 2023 (UTC)
- Last time rater had a major bug, I think posting on Evad's talk page was successful in notifying them. –Novem Linguae (talk) 15:21, 25 November 2023 (UTC)
- @Evad37: Hi there! I've seen you've responded to other sections recently, so I hope you'll also reply here. Would it be possible to change Rater's default process to add
- Is there an alternative rating tool? Perhaps someone will fork it at some point if Evad37 doesn't come back? -Kj cheetham (talk) 09:55, 10 June 2023 (UTC)
Just here to follow up on the request to update this script. Edits like these are quite problematic and create rating conflicts. It would be far preferable to update the rating in the banner shell, than encouraging people to rate each separate project — Martin (MSGJ · talk) 19:58, 10 December 2023 (UTC)
- Hi all, while this is something I would like to do, I won't have the time to develop and test new features until after Christmas. - Evad37 [talk] 23:24, 10 December 2023 (UTC)
- Hi Evad37, it would be great if you can get this done in January. This will likely coincide with the deprecation of the class parameter in all WikiProject banners (except a few who have opted out) so we could hopefully roll this out at the same time. — Martin (MSGJ · talk) 09:01, 18 December 2023 (UTC)
- That deprecation will mean many articles will go without assessment as we don't have a banner shell, nor do we necessarily want the banner shell (like if covered by only 1 or 2 wikiprojects) on all article talk pages. Stefen Towers among the rest! Gab • Gruntwerk 06:15, 19 December 2023 (UTC)
- WPBS can be used on any page, regardless of number of projects (including zero - see Talk:Kimbiji Ruins for example!). Please visit Template talk:WikiProject banner shell if you have any questions, as this is not the right place. — Martin (MSGJ · talk) 16:57, 19 December 2023 (UTC)
- @MSGJ: Added {{WikiProject Africa}} to Talk:Kimbiji Ruins. GoingBatty (talk) 20:23, 19 December 2023 (UTC)
- Ha! So I'll need another example now? — Martin (MSGJ · talk) 09:23, 20 December 2023 (UTC)
- @MSGJ: Added {{WikiProject Africa}} to Talk:Kimbiji Ruins. GoingBatty (talk) 20:23, 19 December 2023 (UTC)
- WPBS can be used on any page, regardless of number of projects (including zero - see Talk:Kimbiji Ruins for example!). Please visit Template talk:WikiProject banner shell if you have any questions, as this is not the right place. — Martin (MSGJ · talk) 16:57, 19 December 2023 (UTC)
- That deprecation will mean many articles will go without assessment as we don't have a banner shell, nor do we necessarily want the banner shell (like if covered by only 1 or 2 wikiprojects) on all article talk pages. Stefen Towers among the rest! Gab • Gruntwerk 06:15, 19 December 2023 (UTC)
- Hi Evad37, it would be great if you can get this done in January. This will likely coincide with the deprecation of the class parameter in all WikiProject banners (except a few who have opted out) so we could hopefully roll this out at the same time. — Martin (MSGJ · talk) 09:01, 18 December 2023 (UTC)
Version 2.7.0 is now out with support for ratings in the banner shell and assocated changes. - Evad37 [talk] 02:10, 28 December 2023 (UTC)
- That sounds great, thanks! Can edits like this be prevented, where a conflict of ratings is introduced? — Martin (MSGJ · talk) 17:10, 29 December 2023 (UTC)
- Many thanks to Evad37! I was wondering if the next version could remove the function of setting a rating for a particular WikiProject inside the banner shell which hasn't opted out of PIQA? -Kj cheetham (talk) 17:12, 2 January 2024 (UTC)
- Yes please, agree with above — Martin (MSGJ · talk) 17:39, 2 January 2024 (UTC)
- Many thanks to Evad37! I was wondering if the next version could remove the function of setting a rating for a particular WikiProject inside the banner shell which hasn't opted out of PIQA? -Kj cheetham (talk) 17:12, 2 January 2024 (UTC)
- @Evad37: Wonderful - thank you! It seems that when there are only two WikiProjects with the same class, Rater will automatically move the class parameter to the banner, which is great. Could you configure Rater to also do this when there are more than two WikiProjects and they all have the same class? Thanks! GoingBatty (talk) 18:47, 2 January 2024 (UTC)
- Do you mean "move the class parameter to the banner shell"? — Martin (MSGJ · talk) 20:39, 6 May 2024 (UTC)
- @MSGJ: Yes, sorry for the missing word. GoingBatty (talk) 20:57, 7 May 2024 (UTC)
- Do you mean "move the class parameter to the banner shell"? — Martin (MSGJ · talk) 20:39, 6 May 2024 (UTC)
Rater support on mobile devices
[edit]Hello Evad37, I want to let know that while I'm using rater, but I want support on mobile device on Minerva skin so that I won't have to switch to desktop view in order to use rater. Can you please add that update? Vitaium (talk) 03:50, 27 June 2023 (UTC)
Listas parameter on biographies
[edit]Hi there, for biography pages with no listas parameter, the RATER tool auto-populates it, which is excellent. However when the parameter is already there but blank, it doesn't. So I tend to remove the parameter, save the edit, then edit again to make it auto-populate. Please could this behaviour be changed? Thank you. -Kj cheetham (talk) 11:17, 8 July 2023 (UTC)
Feature request: semi-automatically add particular project(s)
[edit]Recently, an Australian Transport WikiProject (WP:AUSTS) was set up. There are thousands of articles to add, would it be possible to add a feature in the user settings to add a certain parameter (or multiple) by default such as add “|transport=yes” to the Australia WikiProject by simply visiting the relevant page and clicking one button? Thanks, Fork99 (talk) 12:21, 8 July 2023 (UTC)
- Additionally, it’s not really practical to use AWB because it’s extremely inconsistent how people have added the Australia WikiProject to articles, both parameters and what the main bit is called. I’m sure it’s similar for other projects as well. Fork99 (talk) 12:28, 8 July 2023 (UTC)
- I believe Pearbot can do this, e.g. add the tag to all articles tagged with a transport category and Australia category. But two caveats. First, 99% of new wikiprojects these days are a bad idea and bound to go inactive, so I have to question why this one was created rather than just making an Australia task force for the existing transport WP. Second, longer-term, I think this is just a symptom of the redundancy between categories, Wikidata values, stub tags, and project tags. They're all significantly entrenched at this point, but if we were designing a more optimal system from scratch, we'd never have them separate; we'd just have them triggered automatically based on Wikidata values. {{u|Sdkb}} talk 13:20, 8 July 2023 (UTC)
- @Sdkb: Agreed with your second point (you live and you learn, just what happens when you’re the first to do something). Thanks for the Pearbot tip, will look into it! Well, if you want to see the proposal for the transport project, here you go: Wikipedia:WikiProject Council/Proposals/Australian Transport.
- Yeah, at first the proposal was quite lacklustre, many of us who did express interest at first (including myself) weren’t even interested in setting it up, and only considered joining afterwards. Mixed bag of members, some have closer to 0 edits, there’s one I’m aware of, that’s closer to 500,000. I mean to be honest, I’ve been trying to initiate discussions about major changes to things, and haven’t gotten that much out of it. Doesn’t help that some of the members are on wikibreak, but still. Well, we can only hope that at least some of the original members continue for the foreseeable future, and we’re trying to invite as many people as possible, there’s usually always new editors to the topic, just that yes of course, most of them will disappear. Fork99 (talk) 13:39, 8 July 2023 (UTC)
- I see that @ElijahPepe made the same point at the proposal. A (quasi-)successful one-time invitation drive is nice in the short term, but that doesn't matter for the long term, where the salient factor is the project's scope. And projects that are not viable in the long term should not be created. What I see in the proposal is that the WikiProject Council is ineffective at preventing the creation of projects virtually guaranteed to go inactive over the long term. That's unfortunate, since it means that the detritus of inactive projects is not being cleaned up but rather still growing, creating a maintenance burden and confusing future newcomers who go to them asking for advice and receiving no reply. {{u|Sdkb}} talk 14:58, 8 July 2023 (UTC)
- @Sdkb: Exactly what happened to WikiProject New Zealand Railways, I once asked something there because it needed updating (it was a series of obsolete brand names, gone for many many years, I could not believe no one had updated it) ... crickets. Had to figure it out myself, was quite difficult a few years ago when I didn’t know much about how templates and transclusion (and modules too) worked. Fork99 (talk) 15:05, 8 July 2023 (UTC)
- I’m actually fairly certain that if you hypothetically did something bad to a New Zealand railway related article (obviously I do not condone whatsoever), no one would notice or realise for who knows maybe years! Fork99 (talk) 15:14, 8 July 2023 (UTC)
- I’ve also linked to this discussion from the project for others’ interest. Fork99 (talk) 15:22, 8 July 2023 (UTC)
- As long as the WikiProjec is alive and running, its good. If they go inactive we can turn them to taskforce under WPAUS. I've never proposed a conversion to taskforce myself, but I worked in the conversion of two of them, and gained quite a lot of experience about this process. I even rewrote and expanded Wikipedia:WikiProject Council/Guide/Task forces#Converting existing projects to task forces for others to have a step-by-step guidance. —CX Zoom[he/him] (let's talk • {C•X}) 15:24, 8 July 2023 (UTC)
- @Sdkb: Exactly what happened to WikiProject New Zealand Railways, I once asked something there because it needed updating (it was a series of obsolete brand names, gone for many many years, I could not believe no one had updated it) ... crickets. Had to figure it out myself, was quite difficult a few years ago when I didn’t know much about how templates and transclusion (and modules too) worked. Fork99 (talk) 15:05, 8 July 2023 (UTC)
- I see that @ElijahPepe made the same point at the proposal. A (quasi-)successful one-time invitation drive is nice in the short term, but that doesn't matter for the long term, where the salient factor is the project's scope. And projects that are not viable in the long term should not be created. What I see in the proposal is that the WikiProject Council is ineffective at preventing the creation of projects virtually guaranteed to go inactive over the long term. That's unfortunate, since it means that the detritus of inactive projects is not being cleaned up but rather still growing, creating a maintenance burden and confusing future newcomers who go to them asking for advice and receiving no reply. {{u|Sdkb}} talk 14:58, 8 July 2023 (UTC)
- I believe Pearbot can do this, e.g. add the tag to all articles tagged with a transport category and Australia category. But two caveats. First, 99% of new wikiprojects these days are a bad idea and bound to go inactive, so I have to question why this one was created rather than just making an Australia task force for the existing transport WP. Second, longer-term, I think this is just a symptom of the redundancy between categories, Wikidata values, stub tags, and project tags. They're all significantly entrenched at this point, but if we were designing a more optimal system from scratch, we'd never have them separate; we'd just have them triggered automatically based on Wikidata values. {{u|Sdkb}} talk 13:20, 8 July 2023 (UTC)
Feature suggestion
[edit]I don't if this would be possible, but it would be really nice if "save" could trigger a reload of the page. Hawkeye7 (discuss) 19:50, 3 August 2023 (UTC)
Adding to rater's edit summary
[edit]Sometimes I feel the need to explain the rating changes I'm making with the tool but it doesn't seem to provide a way to do that. Am I missing where this functionality is, or is that not provided? Explaining a change is generally good insurance against it being reverted. Stefen Towers among the rest! Gab • Gruntwerk 22:54, 6 November 2023 (UTC)
Rater broken - November 9, 2023
[edit]Reporting that Rater starts with "Initializing..." but fails off with broken "fragment" in lower left browser window, and page locked. Have to do "Ctrl-R" to recover page. Before writing here, I did Logout/Login, purge cache of Common.js page. Don't know whatelse to try. Regards, JoeNMLC (talk) 04:48, 10 November 2023 (UTC)
- Greetings @MSGJ and @Novem Linguae - This morning I tested Rater with same Vivaldi browser and Chromium, both with same error. JoeNMLC (talk) 15:29, 10 November 2023 (UTC)
- Good morning! Unable to reproduce. Is this on every page or a specific page? –Novem Linguae (talk) 15:32, 10 November 2023 (UTC)
- Error is on any Article, and Talk page - any Random article. I know Rater not updated, so it must be something else, maybe not handling JS? Because Rater starts, then does not present the usual display box. Instead, a broken chunk of Rater subpage? Always in lower left corner. JoeNMLC (talk) 15:45, 10 November 2023 (UTC)
- For random article The Definitive Series, Developer tools, Validate, the HTML has many Validation errors here. Hope this helps. JoeNMLC (talk) 15:57, 10 November 2023 (UTC)
- @Novem Linguae - After further testing, error is with Timeless skin, as I tested both Monobook and Vectorlegacy and for those two Rater runs Okay. JoeNMLC (talk) 17:20, 10 November 2023 (UTC)
- I was able to reproduce the bug on Timeless. You can see some of the Rater window's elements displayed off the screen and barely peeking onto the screen at the bottom left there. This is probably Timeless x mw:ooui related. Was this working a few days ago and just recently broke? If so I can try filing a Phabricator ticket. –Novem Linguae (talk) 17:41, 10 November 2023 (UTC)
- @Novem Linguae - Yes, it just broke Nov. 9th and worked Okay previously. Thanks. JoeNMLC (talk) 17:46, 10 November 2023 (UTC)
- I created a ticket on Phabricator. Will likely need to be fixed upstream. –Novem Linguae (talk) 19:42, 10 November 2023 (UTC)
- @Novem Linguae - Yes, it just broke Nov. 9th and worked Okay previously. Thanks. JoeNMLC (talk) 17:46, 10 November 2023 (UTC)
- I was able to reproduce the bug on Timeless. You can see some of the Rater window's elements displayed off the screen and barely peeking onto the screen at the bottom left there. This is probably Timeless x mw:ooui related. Was this working a few days ago and just recently broke? If so I can try filing a Phabricator ticket. –Novem Linguae (talk) 17:41, 10 November 2023 (UTC)
- @Novem Linguae - After further testing, error is with Timeless skin, as I tested both Monobook and Vectorlegacy and for those two Rater runs Okay. JoeNMLC (talk) 17:20, 10 November 2023 (UTC)
- For random article The Definitive Series, Developer tools, Validate, the HTML has many Validation errors here. Hope this helps. JoeNMLC (talk) 15:57, 10 November 2023 (UTC)
- Error is on any Article, and Talk page - any Random article. I know Rater not updated, so it must be something else, maybe not handling JS? Because Rater starts, then does not present the usual display box. Instead, a broken chunk of Rater subpage? Always in lower left corner. JoeNMLC (talk) 15:45, 10 November 2023 (UTC)
- Good morning! Unable to reproduce. Is this on every page or a specific page? –Novem Linguae (talk) 15:32, 10 November 2023 (UTC)
Thank you @Novem Linguae, so for now I'm back on Monobook, and it is so much Faster. Regards, JoeNMLC (talk) 20:07, 10 November 2023 (UTC)
- Rater is still broken for me with Timeless, can someone explain the workaround solution mentioned in Phabricator without changing skin? (I can't get used to the other skins) 141Pr {contribs} 10:58, 25 November 2023 (UTC)
- @Praseodymium-141 - Looks like the fix is to be installed soon. From an unrelated Phabricator ticket, discussion contained a wikilink here that shows recent "No Train" for deployments. Cheers, JoeNMLC (talk) 13:39, 25 November 2023 (UTC)
- Correct. Fixes are merged and will likely deploy on Thurs, Nov 30. –Novem Linguae (talk) 15:11, 25 November 2023 (UTC)
- @Praseodymium-141 - Looks like the fix is to be installed soon. From an unrelated Phabricator ticket, discussion contained a wikilink here that shows recent "No Train" for deployments. Cheers, JoeNMLC (talk) 13:39, 25 November 2023 (UTC)
- Done - @Novem Linguae, Reporting Rater now fixed & all is well. Thank you so much. Cheers! JoeNMLC (talk) 18:08, 3 December 2023 (UTC)
- Thanks! 141Pr {contribs} 18:38, 3 December 2023 (UTC)
- Done - @Novem Linguae, Reporting Rater now fixed & all is well. Thank you so much. Cheers! JoeNMLC (talk) 18:08, 3 December 2023 (UTC)
Bug report: line break confuses rater
[edit]For example, this wikicode. If you have 4 wikiproject templates, and there's an extra line break between #1 and #2, currently rater will not see templates below the line break (#2-4). I propose that the bug be fixed, and that rater detect all 4 even with a line break. –Novem Linguae (talk) 01:57, 14 December 2023 (UTC)
Bug report: clicking X in top right (close button) sometimes hangs and does not close
[edit]At https://en.wikipedia.org/w/index.php?title=Talk:Faria_Abdullah&oldid=1190676833 in particular. Clicking the X will scroll to bottom of page without closing the modal. Scroll back to the top to see it. Was not able to replicate on a random page. –Novem Linguae (talk) 06:10, 19 December 2023 (UTC)
- I see this issue all the time - try going to Talk:Batman, click the "Rater" link, and then try to close the Rater window without making any changes. GoingBatty (talk) 06:13, 19 December 2023 (UTC)
Discussion at Wikipedia:Village pump (technical) § Rater options changed?
[edit]You are invited to join the discussion at Wikipedia:Village pump (technical) § Rater options changed?. –Novem Linguae (talk) 08:11, 24 December 2023 (UTC)
- Hi Evad37, Rater is giving confusing class options for redirects. There may be some incompatibilities in changes to Rater and talk page project banners. Cheers, · · · Peter Southwood (talk): 06:49, 26 December 2023 (UTC)
Lift Wing
[edit]Lift Wing is a replacement for ORES https://api.wikimedia.org/wiki/Lift_Wing_API/Reference/Get_revscoring_articlequality_prediction
Leaving this here as a note for myself - Evad37 [talk] 23:13, 17 January 2024 (UTC)
Vital articles parameter for banner shell
[edit]{{WikiProject banner shell}} has a |vital=
parameter which works with Wikipedia:Vital articles. Can this parameter be added? Thanks. feminist🇭🇰🇺🇦 (talk) 06:28, 25 January 2024 (UTC)
- @Feminist, As far as I can see, the parameters are retrieved from the TemplateData. I've added vital to the {{WikiProject banner shell}} doc. It should appear shortly. Balyozxane (talk) 18:11, 30 January 2024 (UTC)
Importing to other wikis
[edit]I'm trying to import Rater to ku.wikipedia. It automatically detected the Banner shell template and works well for adding new WPBS but when editing existing pages, It doesn't find localized Wikiproject templates. The search box finds existing templates like "kîproje Kurdistan", somehow "Wî" is getting removed. I tried editing the regex here. Link doesn't point to the line so here is the said regex
/^[Ww](?:P|iki[Pp]roject)/.test(name)
but it didn't help. Any idea how to resolve this issue? Balyozxane (talk) 18:32, 30 January 2024 (UTC)
- For future reference to anyone who might wish to import this tool. I've found the problem. It doesn't have anything to do with the regex above. When the code retrieves the Template names from the categories, it replaces "Template:" from the name here using "info.title.slice(9);" 9 for the number of characters in "Template:" since in Kurdish it is "Şablon:" it should be "7". After changing this number and "Resetting cache" from the tool settings, it worked. :) Thank you for creating this amazing tool! Balyozxane (talk) 19:44, 31 January 2024 (UTC)
Assessment prediction
[edit]I've been running Rater on pages. It would be nice to have a better understanding of the assessment prediction.
- For Start, C and B pages, the assessment works well.
- I find the the percent climbs from high 40% up to 60% as C but I never see say a 95% C page.
- B pages seem to have 75-95%
- Is the % value and the C/B correlated? I was under the impression the % was a confidence but observations don't agree.
- On Good Article pages, Rater never gives a % and only seems to echo back the GA value.
Johnjbarton (talk) 23:30, 4 February 2024 (UTC)
- Greetings @Johnjbarton - while I'm not a Rater expert, I use the tool often. To answer your questions, I did a little digging and found:
- Interesting to find out the changes for article assessment tool. Regards, JoeNMLC (talk) 00:41, 5 February 2024 (UTC)
- @JoeNMLC Thanks that helps a lot! Still I find the results of the tool confusing. Have you ever found a GA article assessed by Rater as anything other than GA?
- Maybe the fact that top articles (A, GA) are pushed by human reviews to have a specific form makes the next tier B articles have more similar structure. That would mean the % confidence that they are B is higher simply because they spread less. C on the other hand is all over the map and also tend to be much shorter making comparisons more volatile and the % lower.
- Any way I think the tool would be much more useful if the scores for each aspect were reported. Something like "References: C(44%) Sectioning B(75%)...," Johnjbarton (talk) 01:07, 5 February 2024 (UTC)
Thoughts
[edit]Personally, I like Kephir's rater better. That's what I used for years. However, it has not been updated for WP:PIQA (adding class to the bannershell) so it's been suggested to me that I not use Kephir's anymore. I've had both installed for awhile but I've been intentionally choosing to use Kephir's, which I think is faster for the following reasons:
- In Kephir's, the "Rater" button was to the left of "Read" and "Edit", whereas in Evad's I have to hover over "More" and then move down over several others things I have installed in order to get to "Rater".
- Evad's has a startup loading screen whereas Kephir's did not.
- In Kephir's, when you are assessing class, the drop down starts at the lower ratings of stub and start whereas in Evad's the drop down begins at the higher featured ratings and you have to move down to stub, start and C (which is what most of the stuff you're rating is going to be).
Also, Evad's never saves my preferences for some reason. Anyways, I just thought I'd leave these thoughts here. Thanks. ~WikiOriginal-9~ (talk) 14:55, 7 February 2024 (UTC)
Aliases
[edit]While trying to add the |needs-photo=
parameter for an instance of {{WikiProject Scotland}} in Rater, I noticed that the aliases were also all listed, in a way that made them seem like separate parameters. Is there a way to fix this? {{u|Sdkb}} talk 17:47, 8 February 2024 (UTC)
- @Sdkb If you create the TemplateData for the {{WikiProject Scotland}}, the issue will be resolved. Please see TemplateData quick tutorial. See {{WikiProject Military history}} as an example. Balyozxane (talk) 14:19, 14 February 2024 (UTC)
- Thanks; happy to fill out the TemplateData basics for that project.
- But looking more broadly, I notice that even WP Military history's banner's TemplateData is marked with {{Crude TemplateData}}. And if that project can't find the resources to do a task, there's pretty much no hope for much less active projects like Scotland. Ideally, we should have a centralized template that produces TemplateData for WikiProject banners, with only a project's more customized aspects of its banner needing to be defined manually. I'm not sure if that's technically possible given TemplateData's current setup, but I'll drop invites at WT:TemplateData/etc. to see if others may know. Cheers, Sdkb talk 17:45, 14 February 2024 (UTC)
- It's not technically possible. Izno (talk) 18:16, 14 February 2024 (UTC)
- Ah, unfortunate. Is there a Phabricator task that would make it possible? Sdkb talk 18:20, 14 February 2024 (UTC)
- phab:T69677 probably. Izno (talk) 18:30, 14 February 2024 (UTC)
- Ah, unfortunate. Is there a Phabricator task that would make it possible? Sdkb talk 18:20, 14 February 2024 (UTC)
- It's not technically possible. Izno (talk) 18:16, 14 February 2024 (UTC)
Installation
[edit]I can't figure out how to install the script. Can someone please help me with this? QuicoleJR (talk) 19:51, 18 February 2024 (UTC)
- 1) open User:Evad37/rater#Installation
- 2) copy in line in plain text that starts with
{{
- 3) Click on the link directly below it. You will navigate to your personal Special page.
- 4) edit the page, paste the line from step #2 at the bottom.
- 5) save.
- 6) Open a page you want run Rater
- 7) Select Tools > Rater. Johnjbarton (talk) 22:26, 18 February 2024 (UTC)
- I just tried that, but it doesn't seem to have worked. Can you please look at my .js page and tell me what I did wrong? QuicoleJR (talk) 23:33, 18 February 2024 (UTC)
- Just delete the incorrect line and try again. Johnjbarton (talk) 23:42, 18 February 2024 (UTC)
- I got it working now. Thanks! QuicoleJR (talk) 12:18, 19 February 2024 (UTC)
- Just delete the incorrect line and try again. Johnjbarton (talk) 23:42, 18 February 2024 (UTC)
- I just tried that, but it doesn't seem to have worked. Can you please look at my .js page and tell me what I did wrong? QuicoleJR (talk) 23:33, 18 February 2024 (UTC)
Small bug
[edit]Hi! I love the script, and I've been using it for quite a while now. I've found a small bug that might need to be addressed:
Steps to replicate:
- Open Rater
- Click on the X at the top of the window
- Click "Cancel"
Outcome: The window is rendered completely inactive
Expected outcome: Back to active window
Workaround: Reloading the page
Cheers! Cocobb8 (💬 talk • ✏️ contribs) 18:14, 15 March 2024 (UTC)
- @Cocobb8 - Wondering if this may be a browser issue. I'm on Vivaldi (current version) and did have the same issue in the past, which "went away" after an upgrade (maybe 6-months or so ago). Suggest updating to newest browser. Regards, JoeNMLC (talk) 21:48, 15 March 2024 (UTC)
- @Cocobb8 - Forgot to mention, at Rater-upper left corner, click on Gearwheel, then "Reset cache" button. Hope this helps. JoeNMLC (talk) 13:18, 16 March 2024 (UTC)
- @JoeNMLC Still having the same problem after clearing cache and having unsaved changes. I'm on ChromeOS Dev 123, so I don't think I can get any newer ;-) Cocobb8 (💬 talk • ✏️ contribs) 14:24, 16 March 2024 (UTC)
- @Cocobb8 - A few more guesses, 1. After clear Rater cache, Log off Wikipedia & login again. 2. Switch to another Skin. I'm with Monobook skin my fav. 3. Shutdown & restart computer. Good luck. JoeNMLC (talk) 19:40, 16 March 2024 (UTC)
- All right thanks, glad to hear it's not an issue from the script itself. Will try to figure it out :-) Cocobb8 (💬 talk • ✏️ contribs) 21:03, 16 March 2024 (UTC)
- @Cocobb8 - A few more guesses, 1. After clear Rater cache, Log off Wikipedia & login again. 2. Switch to another Skin. I'm with Monobook skin my fav. 3. Shutdown & restart computer. Good luck. JoeNMLC (talk) 19:40, 16 March 2024 (UTC)
- @JoeNMLC Still having the same problem after clearing cache and having unsaved changes. I'm on ChromeOS Dev 123, so I don't think I can get any newer ;-) Cocobb8 (💬 talk • ✏️ contribs) 14:24, 16 March 2024 (UTC)
Bug with WikiProject Military history rating
[edit]Hi, thank you for all your efforts with this tool! Following on from Wikipedia talk:WikiProject Military history#RATER and SI class I wanted to flag that not only does it seem impossible to set a SI quality rating for WikiProject Military history, but the tool seems to want to remove the existing ones. For example, if I try it on HMAS Brisbane. -Kj cheetham (talk) 21:23, 17 March 2024 (UTC)
- This also happens with the highway projects and SIA-class. It appears that only a specific set of classes are now available in the gadget in this post-PIQA scheme, and anything outside of that, including Future-Class (see #Bug with highway projects below) is no longer an option in the gadget at all. In the past, the gadget recognized any assessment option within a specific banner. Imzadi 1979 → 19:49, 23 June 2024 (UTC)
Bug with highway projects
[edit]The various highways projects (HWY, USRD, etc) use Future-Class, and it's similarly impossible to set that in the tool. Imzadi 1979 → 05:45, 18 March 2024 (UTC)
WikiProject Australia - Brisbane parameter
[edit]When I go to add the "Brisbane" parameter in WikiProject Australia, it suggests the value "syes" rather than "yes". Can that be fixed please. Thanks Kerry (talk) 23:46, 3 April 2024 (UTC)
- @Kerry Raymond: done with this edit. Imzadi 1979 → 23:52, 3 April 2024 (UTC)
WikiProject United States missing from project select list
[edit]Using Rater today, "United States" isn't in the dropdown list of wikiprojects. Stefen Towers among the rest! Gab • Gruntwerk 21:35, 24 April 2024 (UTC)
- I've done a null edit on WikiProject United States, as for some reason after the last edit a few days ago, it had dropped out of Category:WikiProject banners with quality assessment. If you reset your Rater cache (Rater -> Preferences -> Reset cache), "United States" should reappear. Harryboyles 23:18, 24 April 2024 (UTC)
- Thank you for the fix. It works as expected now. Stefen Towers among the rest! Gab • Gruntwerk 23:46, 24 April 2024 (UTC)
- It's gone again. Stefen Towers among the rest! Gab • Gruntwerk 08:41, 23 June 2024 (UTC)
- Yeah for me as well.
- Related problem, the importance assessments for WP:CRIMEBIO are also gone from the select thing. PARAKANYAA (talk) 13:46, 25 June 2024 (UTC)
- Just wanted to note this is happening yet again. Stefen Towers among the rest! Gab • Gruntwerk 22:51, 18 August 2024 (UTC)
- Jumping in to say its still occurring. Significa liberdade (she/her) (talk) 17:01, 24 August 2024 (UTC)
- Significa liberdade It's been back for about a day. To see it, you go into Rater's options and click "Reset cache". Stefen 𝕋owers among the rest! Gab • Gruntwerk 17:42, 24 August 2024 (UTC)
Women in Red templates
[edit]I have been notified by two long-term editors in the Women in Red project that Rater no longer allows them to add that project's events since recent changes were made. The templates are now all held at Template:WikiProject Women in Red and are currently added as, for example {{WIR|306}}
. (Pls excuse if my terminology is not correct.) Is there any way this issue can be remedied so that editors can use Rater to add them in future? Oronsay (talk) 02:28, 5 May 2024 (UTC)
- I've added some TemplateData to Template:WikiProject Women in Red in case that makes a difference — Martin (MSGJ · talk) 20:35, 6 May 2024 (UTC)
Whitespace
[edit]Please can you stop rater adding unnecessary whitespace between parameters, e.g. [2]. Thanks — Martin (MSGJ · talk) 20:36, 14 May 2024 (UTC)
- It doesn't happen every time, but seems to happen when adding a rating to the banner shell at the same time as adding a new banner — Martin (MSGJ · talk) 08:24, 15 May 2024 (UTC)
New lines in rater script
[edit]Hi! I'm a new user of rater and I have had a few comments on my edits about needing to add new lines before the pipes and not after them. I didn't change anything in rater and I'm not sure how to do this without going back in to the page after submitting the rating. Is this something that needs to be fixed? Other suggestions? Thanks! Pencilsforall (talk) 23:29, 18 May 2024 (UTC)
- Got an example WP:DIFF of incorrect behavior? –Novem Linguae (talk) 01:43, 19 May 2024 (UTC)
- (talk page watcher) @Novem Linguae: How about here? --Redrose64 🌹 (talk) 06:36, 19 May 2024 (UTC)
Feature request: Image Requested & Talk Header
[edit]Rater is a great gadget that helps get talk pages started. When patrolling new pages, often articles are created without a talk page and they lack images, especially BLP articles. It would be great if we could also use Rater to request an image for an article to help speed up the steps in getting the talk page started.
To accomplish this, Rater would incorporate Template:Image requested ({{Image requested}}
) and its associated parameters. It could be as simple (I say naively) as treating the template as a WikiProject (although this template usually falls outside of the WikiProject banner shell.)
In a similar vein, it would great if Rater had an option to add {{talkheader}}
as well. It could be an option toggled on Rater's preferences panel.
I think this could really enhance editors (especially, new page patrollers) ability to start talk pages.
Please let me know what you think! If Wikipedia:Village pump (technical) is a more appropriate place for this discussion, I would be happy to move the discussion there. Apologies if this has already been suggested and discussed. --Classicwiki (talk) If you reply here, please ping me. 10:12, 8 June 2024 (UTC)
- This is linked with Template_talk:WikiProject_banner_shell#needs-infobox,_and_related potentially. RATER is aimed at WikiProject rating I thought, not a general talk page banner tool.
- If something is added for Template:Talk header, it definitely shouldn't be enabled by default, it's seemingly already overused. -Kj cheetham (talk) 12:05, 8 June 2024 (UTC)
- @Kj cheetham, these options could be an advanced features in the preferences panel with the default options off. (It could even be buried into a collapsible menu in the preferences panel to add an extra step.) Would that ease your concern?
- Photos, maps, and infobox missing are already parameters in many WikiProjects (as demonstrated by that conversation). It would be great to get the ability to request them streamlined.
- I understand Rater's mission is focused on article/WikiProject rating. Rater is the tool I use most when I start talk pages, and I do not think I am alone in this respect. Adding these templates would ease the friction of improving talk pages/articles. I would hate to add yet another script/tool that does this function external of Rater. --Classicwiki (talk) If you reply here, please ping me. 15:31, 8 June 2024 (UTC)
Script adds `1=` to WPBS
[edit]Heya, I noticed here that Rater adds the parameter prefix |1=
to the {{WikiProject banner shell}}. Per a recent discussion, it is recommended not to use it. While I wouldn't ask that Rater always removes it, perhaps it could just retain the prior state? IceWelder [✉] 13:57, 15 June 2024 (UTC)
Remove unsupported parameters
[edit]Hi there and thanks so much for Rater. Can somebody remove the many unsupported features? I'm pretty sure Wikiproject Films doesn't support importance, and here's more for sure:
- Wikiproject Cities | importance=
- Wikiproject United States | ACW-importance= | KS= | KS-importance=
The latter is because Wikiproject Kansas exists. Thanks! — Smuckola(talk) 01:55, 23 June 2024 (UTC)
- Hi Smuckola: Looking at your contributions and User:Smuckola/common.js, you are using Kephir's original version of the rater gadget - which hasn't been updated in several years. This is Evad37's version which has been kept up to date with the WikiProject banner changes in the last 12 months. Try switching to this one by replacing Kephir's version with {{subst:lusc|User:Evad37/rater.js}} Harryboyles 07:36, 23 June 2024 (UTC)
- @Harryboyles: Wow thanks! My next upgrade request is that somebody should upgrade Kephir's to display a notice to use this one! Thank you. — Smuckola(talk) 21:44, 23 June 2024 (UTC)
- Someone should just update Kephir's. It's faster and better. Evad's doesn't even work for me anymore. ~WikiOriginal-9~ (talk) 00:43, 24 June 2024 (UTC)
- It is quite difficult to convince folks to have deprecated user scripts emit messages. For example, I couldn't get a consensus to put a console.log in a blanked user script: Wikipedia:Interface administrators' noticeboard#Using console.log instead of comments to blank user scripts –Novem Linguae (talk) 03:50, 24 June 2024 (UTC)
- @Harryboyles: Wow thanks! My next upgrade request is that somebody should upgrade Kephir's to display a notice to use this one! Thank you. — Smuckola(talk) 21:44, 23 June 2024 (UTC)
It is no longer possible to assign an importance to a redirect
[edit]Is this due to a change in Rater or something else? · · · Peter Southwood (talk): 05:01, 29 September 2024 (UTC)
- It's not possible to assign an importance to an article or any other page too... Killarnee (talk) 08:18, 29 September 2024 (UTC)
- Worse, it is also stripping existing importance values e.g. [3]. I would consider that a bug that results in more harm than good, and so should be temporarily suspended! Widefox; talk 11:18, 29 September 2024 (UTC)
- I'm able to reproduce. It looks like the bug is that when loading rater and detecting banners and pre-filling some of the dropdown lists, the old importance is not detected, defaulting to no importance. I'll leave a message on Evad37's user talk. –Novem Linguae (talk) 23:11, 29 September 2024 (UTC)
- I am getting this on new talk pages of newly created redirects. The only options given are no importance and NA, which are OK for many redirects, but not for all. Low is appropriate for quite a lot of redirects with possibilities, and occasionally higher importance is possible. · · · Peter Southwood (talk): 02:21, 30 September 2024 (UTC)
- What is even weirder is that a manual correction to the code does not change the rendered appearance. I tried adding
|importance=Low
on a redirct and it does not display. This might be some change to the WikiProject banner shell template.· · · Peter Southwood (talk): 02:47, 30 September 2024 (UTC)- Seems like it's not a bug but one of the recent changes to Module:WikiProject banner are causing the different behavior of the script. See the talk page: “There is a suggestion (link) that importance ratings e.g. |importance=mid should be ignored on non-articles, like redirects”, etc. Killarnee (talk) 03:05, 30 September 2024 (UTC)
- I think there are two different things getting conflated here. Peter's issue with non-articles was a deliberate design choice and is working as intended. The issue with rater is concerning. I can't, on the face of it, see how any changes to the module could have caused this, but the timing does seem rather too much of a coincidence — Martin (MSGJ · talk) 20:53, 30 September 2024 (UTC)
- Seems like it's not a bug but one of the recent changes to Module:WikiProject banner are causing the different behavior of the script. See the talk page: “There is a suggestion (link) that importance ratings e.g. |importance=mid should be ignored on non-articles, like redirects”, etc. Killarnee (talk) 03:05, 30 September 2024 (UTC)
- What is even weirder is that a manual correction to the code does not change the rendered appearance. I tried adding
- I am getting this on new talk pages of newly created redirects. The only options given are no importance and NA, which are OK for many redirects, but not for all. Low is appropriate for quite a lot of redirects with possibilities, and occasionally higher importance is possible. · · · Peter Southwood (talk): 02:21, 30 September 2024 (UTC)
- I'm able to reproduce. It looks like the bug is that when loading rater and detecting banners and pre-filling some of the dropdown lists, the old importance is not detected, defaulting to no importance. I'll leave a message on Evad37's user talk. –Novem Linguae (talk) 23:11, 29 September 2024 (UTC)
- Worse, it is also stripping existing importance values e.g. [3]. I would consider that a bug that results in more harm than good, and so should be temporarily suspended! Widefox; talk 11:18, 29 September 2024 (UTC)
- I have the same issue. I took a screenshot and uploaded it to Wikimedia Commons. - Sebbog13 (talk) 19:26, 30 September 2024 (UTC)
Rater uses the API to parse banner templates for possible classes and importances. I guess something to do with the module changes broke the parsing. I probably won't have time to look at it until the weekend. For any JS-savy users who want to take a look and maybe make a PR – https://github.com/evad37/rater/blob/master/rater-src/Template.js line 479. - Evad37 [talk] 00:33, 1 October 2024 (UTC)
- Thanks Evad for the response - whoever is playing with the Module should be owning up and fixing the issue, the rendering Rater to what it cannot do at the moment is quite concerning. JarrahTree 09:17, 1 October 2024 (UTC)
- I think they are looking into it, having just become aware that it is happening. · · · Peter Southwood (talk): 09:33, 1 October 2024 (UTC)
- The module seems to be working just fine @JarrahTree. And we had no way of knowing that it might affect this tool. — Martin (MSGJ · talk) 09:40, 1 October 2024 (UTC)
- The module could be working fine within its intended scope and at the same time be affecting the function of other modules as an unintended and unexpected side effect. Or it could be something unrelated. Evad37 is probably best qualified to analyse the cause of the problem with Rater. In the meanwhile there may be useful tests we can do to pin down the extent of the effects on Rater which may help identify the exact cause. If we find that it is the changes to the module, then the people who coded the module will have to help look for a solution, which may be in the module or in Rater. We don't know yet. Cheers, · · · Peter Southwood (talk): 10:16, 1 October 2024 (UTC)
- The change to the module has been reverted, and I'm guessing this has resolved the rater bug. We would like to make this though. It makes the module more efficient and we are implementing a change to the importance ratings of non-articles. So although not super urgent, rater will need to be fixed so it can work with the change and doesn't rely on {{importance mask}} — Martin (MSGJ · talk) 09:39, 2 October 2024 (UTC)
- The module could be working fine within its intended scope and at the same time be affecting the function of other modules as an unintended and unexpected side effect. Or it could be something unrelated. Evad37 is probably best qualified to analyse the cause of the problem with Rater. In the meanwhile there may be useful tests we can do to pin down the extent of the effects on Rater which may help identify the exact cause. If we find that it is the changes to the module, then the people who coded the module will have to help look for a solution, which may be in the module or in Rater. We don't know yet. Cheers, · · · Peter Southwood (talk): 10:16, 1 October 2024 (UTC)
- Thanks Evad for the response - whoever is playing with the Module should be owning up and fixing the issue, the rendering Rater to what it cannot do at the moment is quite concerning. JarrahTree 09:17, 1 October 2024 (UTC)
Hi all, the issue is now be resolved on the Rater side, and should not break if the module changes are reapplied - Evad37 [talk] 01:48, 5 October 2024 (UTC)
- Many thanks for the speedy fix — Martin (MSGJ · talk) 18:28, 5 October 2024 (UTC)
Stop killing people
[edit]Rater seems to be adding |living=no
indiscriminately to talk pages (example) when a lot of these people are still alive. Is this a default value? Can you make this not happen unless a human specifically chooses it? Thank you — Martin (MSGJ · talk) 11:25, 25 October 2024 (UTC)
- Can confirm, it's adding it to anyone I click on seemingly indiscriminately. Yes I can go in and change it but it shouldn't be doing that especially when a lot of these already have blp=yes notated. Wizardman 02:04, 26 October 2024 (UTC)
- Another example here. Specifically, when I change from "Stub" to "Start" class, it keeps the "blp=yes", and Adds "living=no". Hope this helps diagnose the issue. Regards, JoeNMLC (talk) 07:49, 26 October 2024 (UTC)
- @Evad37 please could you look into this? — Martin (MSGJ · talk) 21:51, 27 October 2024 (UTC)
- It happened to me earlier. – Muboshgu (talk) 20:53, 28 October 2024 (UTC)
- MSGJ has reverted a bunch of ratings changes I made while the tool was broken, maybe they've done this to others too. I'm happy to do cleanup but now I have to clean up their mess first and then clean mine. Why the fucking hurry? ~Kvng (talk) 23:15, 28 October 2024 (UTC)
Change to parameters of WPBS
[edit]Just to note that we are making a transition in how parameters are handled in {{WikiProject banner shell}}.
|blp=yes
(or|blp=no
) is preferred over|living=yes
or|living=no
(this is already an alias)|blp=activepol
is preferred over|blp=yes
|activepol=yes
|blp=other
is preferred over|blp=no
|blpo=yes
It would be great if rater could be updated accordingly — Martin (MSGJ · talk) 21:57, 27 October 2024 (UTC)
setting living=no
[edit]Please test the rater app on Matt Shakman. When I run it, it set living= param to no. It was already set, so I don't think it should have changed it. Alaney2k (talk) 02:16, 28 October 2024 (UTC)
- Please see #Stop killing people above. We are awaiting an urgent fix on this — Martin (MSGJ · talk) 07:22, 28 October 2024 (UTC)